﻿using System.ComponentModel.DataAnnotations;

namespace Quba.Web.Admin.Models
{
    public class LoginModel
    {
        [Required]
        [StringLength(6, MinimumLength = 3)]
        [RegularExpression(@"(\S)+", ErrorMessage = "White space is not allowed")]
        public string Username { get; set; }

        [Required]
        public string Password { get; set; }
    }
}